var title=document.getElementsByClassName("publish")[0];
var content=document.getElementsByClassName("loggingData")[0];
var finish=document.getElementsByClassName("submit")[0];
title.onclick=function()
{
    content.style.display="block";
}
finish.onclick=function()
{
    content.style.display="none";
}